import * as React from 'react'
import * as ReactDOM from 'react-dom/client'
// import router from './router'
import AppRouter from './router/AppRouter'
import './index.css'
import {RouterProvider} from 'react-router-dom'
import router from "@/views/react_router_dom";
import {Provider} from "react-redux";
// import store from "@/views/redux/base";
import store from "@/views/redux/reduxToolkit";

ReactDOM.createRoot(document.getElementById('root')!).render(
    <React.StrictMode>
        <Provider store={store}>
            <RouterProvider router={router} />
        </Provider>
    </React.StrictMode>
)